-- GENERATED SPELL FOR [Sharth Voldoun] --


function spell0_18554(pUnit, Event) --@Holy Light,Heal--
pUnit:FullCastSpellOnTarget(13952,pUnit)
pUnit:RegisterEvent('Sorts_18554', 2500, 1)
end

function spell1_18554(pUnit, Event) --@Seal of Reckoning,n/a--
pUnit:FullCastSpellOnTarget(15277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18554', 30267, 1)
end

function Sorts_18554(pUnit, Event)
local choix_sorts_18554 = math.random(0, 1)
if choix_sorts_18554 == 0 then
pUnit:RegisterEvent('spell0_18554', 1, 1)
end
if choix_sorts_18554 == 1 then
pUnit:RegisterEvent('spell1_18554', 1, 1)
end
end

function mob18554_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18554', math.random(1500, 3000), 1)
end

function mob18554_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18554_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18554_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18554, 1, 'mob18554_Action')
RegisterUnitEvent(18554, 2, 'mob18554_Leave')
RegisterUnitEvent(18554, 3, 'mob18554_Kill')
RegisterUnitEvent(18554, 4, 'mob18554_Die')
